package diamondRingDao;

import diamondRingEntity.User;
import diamondRingEntity.DiamondRingUser;

public interface UserDao {
    //登录操作
    int Login(User user);
    //注册操作
    int Regist(User user);
    //判断邮箱是否注册
    int isRegist(User user);
    //查询到id和用户名
    DiamondRingUser findUser(String email,int pwd);
    //修改密码
    int userUpdatePwd(int userid,int oldPwd,int newPwd);
}
